package com.kee.server.manager.dao;

import java.sql.SQLException;

import com.kee.server.dao.BaseDao;
import com.kee.server.manager.bean.ContentChannel;

public class ContentChannelImpl extends BaseDao implements IContentChannel {

	public void add(ContentChannel contentChannel) throws SQLException {
		sqlMapClientImport.insert("addContentChannel", contentChannel);
	}

	public static void main(String[] args) {
		ContentChannelImpl cc = new ContentChannelImpl();
		ContentChannel contentChannel = new ContentChannel();
		contentChannel.setChannel_id(11);
		contentChannel.setContent_id(549);
		try {
			cc.add(contentChannel);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
	
}
